<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class SchMakeResevation extends School_Controller {

	
	public function index()
	{
		
		if ($this->remoteResources)
			$this->template->set('groupLibraries',array('jquery','jqueryui','bootstrap','datatables'));
		else
			$this->template->set('groupLibraries',array('jquery_local','jqueryui_local','bootstrap_local','datatables_local'));
		
		//$this->carabiner->css('school/makeReservation.css');
		$this->carabiner->js('school/schoolMakeReservation.js');
		
		$this->template->title('Radical Booking - Reservation')
			->set('classes',$this->School_model->getAvailableClasses())
			->set('activeLink', $this->_activeLink())
			->build('SchoolBodyMakeReservation');
	}
}
